home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-06-11 | 2.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 7c 27 63 6c 61 73 73 20 |........||'class |
|00000010| 57 69 6c 6c 6f 77 57 68 | 69 73 70 20 65 78 74 65 |WillowWh|isp exte|
|00000020| 6e 64 73 20 78 45 6d 69 | 74 74 65 72 3b 0d 0a 0d |nds xEmi|tter;...|
|00000030| 0a 76 61 72 09 09 76 65 | 63 74 6f 72 09 09 57 61 |.var..ve|ctor..Wa|
|00000040| 79 50 6f 69 6e 74 73 5b | 31 31 5d 3b 0d 0a 76 61 |yPoints[|11];..va|
|00000050| 72 09 09 69 6e 74 09 09 | 09 4e 75 6d 50 6f 69 6e |r..int..|.NumPoin|
|00000060| 74 73 3b 0d 0a 76 61 72 | 09 09 69 6e 74 09 09 09 |ts;..var|..int...|
|00000070| 50 6f 73 69 74 69 6f 6e | 3b 0d 0a 76 61 72 09 09 |Position|;..var..|
|00000080| 76 65 63 74 6f 72 09 09 | 44 65 73 74 69 6e 61 74 |vector..|Destinat|
|00000090| 69 6f 6e 3b 0d 0a 76 61 | 72 09 09 62 6f 6f 6c 09 |ion;..va|r..bool.|
|000000a0| 09 62 48 65 61 64 65 64 | 52 69 67 68 74 3b 0d 0a |.bHeaded|Right;..|
|000000b0| 76 61 72 09 09 66 6c 6f | 61 74 09 09 4c 69 66 65 |var..flo|at..Life|
|000000c0| 4c 65 66 74 3b 0d 0a 0d | 0a 72 65 70 6c 69 63 61 |Left;...|.replica|
|000000d0| 74 69 6f 6e 0d 0a 7b 0d | 0a 09 72 65 6c 69 61 62 |tion..{.|..reliab|
|000000e0| 6c 65 20 69 66 20 28 20 | 52 6f 6c 65 20 3d 3d 20 |le if ( |Role == |
|000000f0| 52 4f 4c 45 5f 41 75 74 | 68 6f 72 69 74 79 20 29 |ROLE_Aut|hority )|
|00000100| 0d 0a 09 09 4e 75 6d 50 | 6f 69 6e 74 73 2c 57 61 |....NumP|oints,Wa|
|00000110| 79 50 6f 69 6e 74 73 3b | 0d 0a 7d 0d 0a 0d 0a 66 |yPoints;|..}....f|
|00000120| 75 6e 63 74 69 6f 6e 20 | 50 6f 73 74 42 65 67 69 |unction |PostBegi|
|00000130| 6e 50 6c 61 79 28 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |nPlay().|.{...loc|
|00000140| 61 6c 20 69 6e 74 20 69 | 2c 73 74 61 72 74 3b 0d |al int i|,start;.|
|00000150| 0a 09 6c 6f 63 61 6c 20 | 43 6f 6e 74 72 6f 6c 6c |..local |Controll|
|00000160| 65 72 20 43 3b 0d 0a 09 | 6c 6f 63 61 6c 20 41 63 |er C;...|local Ac|
|00000170| 74 6f 72 20 48 69 74 41 | 63 74 6f 72 3b 0d 0a 09 |tor HitA|ctor;...|
|00000180| 6c 6f 63 61 6c 20 56 65 | 63 74 6f 72 20 48 69 74 |local Ve|ctor Hit|
|00000190| 4c 6f 63 61 74 69 6f 6e | 2c 48 69 74 4e 6f 72 6d |Location|,HitNorm|
|000001a0| 61 6c 3b 0d 0a 09 0d 0a | 09 53 75 70 65 72 2e 50 |al;.....|.Super.P|
|000001b0| 6f 73 74 42 65 67 69 6e | 50 6c 61 79 28 29 3b 0d |ostBegin|Play();.|
|000001c0| 0a 09 0d 0a 09 43 20 3d | 20 43 6f 6e 74 72 6f 6c |.....C =| Control|
|000001d0| 6c 65 72 28 4f 77 6e 65 | 72 29 3b 0d 0a 09 69 66 |ler(Owne|r);...if|
|000001e0| 20 28 20 43 2e 50 61 77 | 6e 20 3d 3d 20 4e 6f 6e | ( C.Paw|n == Non|
|000001f0| 65 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |e )....r|eturn;..|
|00000200| 09 53 65 74 4c 6f 63 61 | 74 69 6f 6e 28 43 2e 50 |.SetLoca|tion(C.P|
|00000210| 61 77 6e 2e 4c 6f 63 61 | 74 69 6f 6e 29 3b 0d 0a |awn.Loca|tion);..|
|00000220| 0d 0a 09 57 61 79 50 6f | 69 6e 74 73 5b 30 5d 20 |...WayPo|ints[0] |
|00000230| 3d 20 43 2e 50 61 77 6e | 2e 4c 6f 63 61 74 69 6f |= C.Pawn|.Locatio|
|00000240| 6e 20 2b 20 43 2e 50 61 | 77 6e 2e 43 6f 6c 6c 69 |n + C.Pa|wn.Colli|
|00000250| 73 69 6f 6e 48 65 69 67 | 68 74 20 2a 20 56 65 63 |sionHeig|ht * Vec|
|00000260| 74 28 30 2c 30 2c 31 29 | 20 2b 20 32 30 30 20 2a |t(0,0,1)| + 200 *|
|00000270| 20 76 65 63 74 6f 72 28 | 43 2e 52 6f 74 61 74 69 | vector(|C.Rotati|
|00000280| 6f 6e 29 3b 0d 0a 09 48 | 69 74 41 63 74 6f 72 20 |on);...H|itActor |
|00000290| 3d 20 54 72 61 63 65 28 | 48 69 74 4c 6f 63 61 74 |= Trace(|HitLocat|
|000002a0| 69 6f 6e 2c 20 48 69 74 | 4e 6f 72 6d 61 6c 2c 57 |ion, Hit|Normal,W|
|000002b0| 61 79 50 6f 69 6e 74 73 | 5b 30 5d 2c 20 43 2e 50 |ayPoints|[0], C.P|
|000002c0| 61 77 6e 2e 4c 6f 63 61 | 74 69 6f 6e 2c 66 61 6c |awn.Loca|tion,fal|
|000002d0| 73 65 29 3b 0d 0a 09 69 | 66 20 28 20 48 69 74 41 |se);...i|f ( HitA|
|000002e0| 63 74 6f 72 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |ctor != |None )..|
|000002f0| 09 09 57 61 79 50 6f 69 | 6e 74 73 5b 30 5d 20 3d |..WayPoi|nts[0] =|
|00000300| 20 48 69 74 4c 6f 63 61 | 74 69 6f 6e 3b 0d 0a 09 | HitLoca|tion;...|
|00000310| 4e 75 6d 50 6f 69 6e 74 | 73 2b 2b 3b 0d 0a 09 0d |NumPoint|s++;....|
|00000320| 0a 09 69 66 20 28 20 28 | 43 2e 52 6f 75 74 65 43 |..if ( (|C.RouteC|
|00000330| 61 63 68 65 5b 69 5d 20 | 21 3d 20 4e 6f 6e 65 29 |ache[i] |!= None)|
|00000340| 20 26 26 20 43 2e 41 63 | 74 6f 72 52 65 61 63 68 | && C.Ac|torReach|
|00000350| 61 62 6c 65 28 43 2e 52 | 6f 75 74 65 43 61 63 68 |able(C.R|outeCach|
|00000360| 65 5b 31 5d 29 20 29 0d | 0a 09 09 73 74 61 72 74 |e[1]) ).|...start|
|00000370| 20 3d 20 31 3b 0d 0a 09 | 66 6f 72 20 28 20 69 3d | = 1;...|for ( i=|
|00000380| 73 74 61 72 74 3b 20 69 | 3c 73 74 61 72 74 2b 31 |start; i|<start+1|
|00000390| 30 3b 20 69 2b 2b 20 29 | 0d 0a 09 7b 0d 0a 09 09 |0; i++ )|...{....|
|000003a0| 69 66 20 28 20 43 2e 52 | 6f 75 74 65 43 61 63 68 |if ( C.R|outeCach|
|000003b0| 65 5b 69 5d 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a |e[i] == |None )..|
|000003c0| 09 09 09 62 72 65 61 6b | 3b 0d 0a 09 09 65 6c 73 |...break|;....els|
|000003d0| 65 0d 0a 09 09 7b 0d 0a | 09 09 09 57 61 79 50 6f |e....{..|...WayPo|
|000003e0| 69 6e 74 73 5b 4e 75 6d | 50 6f 69 6e 74 73 5d 20 |ints[Num|Points] |
|000003f0| 3d 20 43 2e 52 6f 75 74 | 65 43 61 63 68 65 5b 69 |= C.Rout|eCache[i|
|00000400| 5d 2e 4c 6f 63 61 74 69 | 6f 6e 20 2b 20 43 2e 50 |].Locati|on + C.P|
|00000410| 61 77 6e 2e 43 6f 6c 6c | 69 73 69 6f 6e 48 65 69 |awn.Coll|isionHei|
|00000420| 67 68 74 20 2a 20 56 65 | 63 74 28 30 2c 30 2c 31 |ght * Ve|ct(0,0,1|
|00000430| 29 3b 0d 0a 09 09 09 4e | 75 6d 50 6f 69 6e 74 73 |);.....N|umPoints|
|00000440| 2b 2b 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 09 56 |++;....}|...}...V|
|00000450| 65 6c 6f 63 69 74 79 20 | 3d 20 35 30 30 20 2a 20 |elocity |= 500 * |
|00000460| 4e 6f 72 6d 61 6c 28 57 | 61 79 50 6f 69 6e 74 73 |Normal(W|ayPoints|
|00000470| 5b 30 5d 20 2d 20 4c 6f | 63 61 74 69 6f 6e 29 20 |[0] - Lo|cation) |
|00000480| 2b 20 43 2e 50 61 77 6e | 2e 56 65 6c 6f 63 69 74 |+ C.Pawn|.Velocit|
|00000490| 79 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |y;..}...|.simulat|
|000004a0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 50 6f 73 74 |ed funct|ion Post|
|000004b0| 4e 65 74 42 65 67 69 6e | 50 6c 61 79 28 29 0d 0a |NetBegin|Play()..|
|000004c0| 7b 0d 0a 09 69 66 20 28 | 20 28 4c 65 76 65 6c 2e |{...if (| (Level.|
|000004d0| 4e 65 74 4d 6f 64 65 20 | 3d 3d 20 4e 4d 5f 53 74 |NetMode |== NM_St|
|000004e0| 61 6e 64 61 6c 6f 6e 65 | 29 20 7c 7c 20 28 4c 65 |andalone|) || (Le|
|000004f0| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 3d 3d 20 4e |vel.NetM|ode == N|
|00000500| 4d 5f 43 6c 69 65 6e 74 | 29 20 29 0d 0a 09 7b 0d |M_Client|) )...{.|
|00000510| 0a 09 09 62 48 69 64 64 | 65 6e 20 3d 20 66 61 6c |...bHidd|en = fal|
|00000520| 73 65 3b 0d 0a 09 09 53 | 74 61 72 74 4e 65 78 74 |se;....S|tartNext|
|00000530| 50 61 74 68 28 29 3b 0d | 0a 09 7d 0d 0a 09 65 6c |Path();.|..}...el|
|00000540| 73 65 20 69 66 20 28 20 | 28 4c 65 76 65 6c 2e 4e |se if ( |(Level.N|
|00000550| 65 74 4d 6f 64 65 20 3d | 3d 20 4e 4d 5f 4c 69 73 |etMode =|= NM_Lis|
|00000560| 74 65 6e 53 65 72 76 65 | 72 29 20 26 26 20 28 56 |tenServe|r) && (V|
|00000570| 69 65 77 70 6f 72 74 28 | 50 6c 61 79 65 72 43 6f |iewport(|PlayerCo|
|00000580| 6e 74 72 6f 6c 6c 65 72 | 28 4f 77 6e 65 72 29 2e |ntroller|(Owner).|
|00000590| 50 6c 61 79 65 72 29 20 | 21 3d 20 4e 6f 6e 65 29 |Player) |!= None)|
|000005a0| 20 29 0d 0a 09 7b 0d 0a | 09 09 62 48 69 64 64 65 | )...{..|..bHidde|
|000005b0| 6e 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 09 09 52 65 |n = fals|e;....Re|
|000005c0| 6d 6f 74 65 52 6f 6c 65 | 20 3d 20 52 4f 4c 45 5f |moteRole| = ROLE_|
|000005d0| 4e 6f 6e 65 3b 0d 0a 09 | 09 53 74 61 72 74 4e 65 |None;...|.StartNe|
|000005e0| 78 74 50 61 74 68 28 29 | 3b 0d 0a 09 7d 0d 0a 09 |xtPath()|;...}...|
|000005f0| 65 6c 73 65 0d 0a 09 09 | 4c 69 66 65 53 70 61 6e |else....|LifeSpan|
|00000600| 20 3d 20 30 2e 35 3b 0d | 0a 7d 0d 0a 0d 0a 73 69 | = 0.5;.|.}....si|
|00000610| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|00000620| 20 53 74 61 72 74 4e 65 | 78 74 50 61 74 68 28 29 | StartNe|xtPath()|
|00000630| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 50 6f 73 69 74 |..{...if| ( Posit|
|00000640| 69 6f 6e 20 3e 3d 20 4e | 75 6d 50 6f 69 6e 74 73 |ion >= N|umPoints|
|00000650| 20 29 0d 0a 09 7b 0d 0a | 09 09 6d 72 65 67 65 6e | )...{..|..mregen|
|00000660| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 09 09 4c 69 66 | = false|;....Lif|
|00000670| 65 53 70 61 6e 20 3d 20 | 31 2e 35 3b 0d 0a 09 09 |eSpan = |1.5;....|
|00000680| 4c 69 66 65 4c 65 66 74 | 20 3d 20 31 2e 35 3b 0d |LifeLeft| = 1.5;.|
|00000690| 0a 09 09 56 65 6c 6f 63 | 69 74 79 20 3d 20 76 65 |...Veloc|ity = ve|
|000006a0| 63 74 28 30 2c 30 2c 30 | 29 3b 0d 0a 09 09 41 63 |ct(0,0,0|);....Ac|
|000006b0| 63 65 6c 65 72 61 74 69 | 6f 6e 20 3d 20 76 65 63 |celerati|on = vec|
|000006c0| 74 28 30 2c 30 2c 30 29 | 3b 0d 0a 09 09 72 65 74 |t(0,0,0)|;....ret|
|000006d0| 75 72 6e 3b 0d 0a 09 7d | 0d 0a 09 62 48 65 61 64 |urn;...}|...bHead|
|000006e0| 65 64 52 69 67 68 74 20 | 3d 20 66 61 6c 73 65 3b |edRight |= false;|
|000006f0| 0d 0a 09 44 65 73 74 69 | 6e 61 74 69 6f 6e 20 3d |...Desti|nation =|
|00000700| 20 57 61 79 50 6f 69 6e | 74 73 5b 50 6f 73 69 74 | WayPoin|ts[Posit|
|00000710| 69 6f 6e 5d 3b 0d 0a 09 | 41 63 63 65 6c 65 72 61 |ion];...|Accelera|
|00000720| 74 69 6f 6e 20 3d 20 31 | 32 30 30 20 2a 20 4e 6f |tion = 1|200 * No|
|00000730| 72 6d 61 6c 28 44 65 73 | 74 69 6e 61 74 69 6f 6e |rmal(Des|tination|
|00000740| 20 2d 20 4c 6f 63 61 74 | 69 6f 6e 29 3b 0d 0a 09 | - Locat|ion);...|
|00000750| 56 65 6c 6f 63 69 74 79 | 20 2a 3d 20 30 2e 35 3b |Velocity| *= 0.5;|
|00000760| 0d 0a 09 56 65 6c 6f 63 | 69 74 79 2e 5a 20 3d 20 |...Veloc|ity.Z = |
|00000770| 30 2e 35 20 2a 20 28 56 | 65 6c 6f 63 69 74 79 2e |0.5 * (V|elocity.|
|00000780| 5a 20 2b 20 41 63 63 65 | 6c 65 72 61 74 69 6f 6e |Z + Acce|leration|
|00000790| 2e 5a 29 3b 0d 0a 09 53 | 65 74 52 6f 74 61 74 69 |.Z);...S|etRotati|
|000007a0| 6f 6e 28 72 6f 74 61 74 | 6f 72 28 41 63 63 65 6c |on(rotat|or(Accel|
|000007b0| 65 72 61 74 69 6f 6e 29 | 29 3b 0d 0a 09 50 6f 73 |eration)|);...Pos|
|000007c0| 69 74 69 6f 6e 2b 2b 3b | 0d 0a 7d 0d 0a 0d 0a 61 |ition++;|..}....a|
|000007d0| 75 74 6f 20 73 74 61 74 | 65 20 50 61 74 68 69 6e |uto stat|e Pathin|
|000007e0| 67 0d 0a 7b 0d 0a 09 73 | 69 6d 75 6c 61 74 65 64 |g..{...s|imulated|
|000007f0| 20 66 75 6e 63 74 69 6f | 6e 20 54 69 63 6b 28 66 | functio|n Tick(f|
|00000800| 6c 6f 61 74 20 44 65 6c | 74 61 54 69 6d 65 29 0d |loat Del|taTime).|
|00000810| 0a 09 7b 0d 0a 09 09 69 | 66 20 28 20 4c 69 66 65 |..{....i|f ( Life|
|00000820| 4c 65 66 74 20 3e 20 30 | 20 29 0d 0a 09 09 7b 0d |Left > 0| )....{.|
|00000830| 0a 09 09 09 4c 69 66 65 | 4c 65 66 74 20 2d 3d 20 |....Life|Left -= |
|00000840| 44 65 6c 74 61 54 69 6d | 65 3b 0d 0a 09 09 09 69 |DeltaTim|e;.....i|
|00000850| 66 20 28 20 4c 69 66 65 | 4c 65 66 74 20 3c 3d 20 |f ( Life|Left <= |
|00000860| 30 20 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 44 |0 ).....|{......D|
|00000870| 65 73 74 72 6f 79 28 29 | 3b 0d 0a 09 09 09 09 72 |estroy()|;......r|
|00000880| 65 74 75 72 6e 3b 0d 0a | 09 09 09 7d 0d 0a 09 09 |eturn;..|...}....|
|00000890| 09 72 65 74 75 72 6e 3b | 0d 0a 09 09 7d 0d 0a 09 |.return;|....}...|
|000008a0| 09 41 63 63 65 6c 65 72 | 61 74 69 6f 6e 20 3d 20 |.Acceler|ation = |
|000008b0| 31 32 30 30 20 2a 20 4e | 6f 72 6d 61 6c 28 44 65 |1200 * N|ormal(De|
|000008c0| 73 74 69 6e 61 74 69 6f | 6e 20 2d 20 4c 6f 63 61 |stinatio|n - Loca|
|000008d0| 74 69 6f 6e 29 3b 0d 0a | 09 09 56 65 6c 6f 63 69 |tion);..|..Veloci|
|000008e0| 74 79 20 3d 20 56 65 6c | 6f 63 69 74 79 20 2b 20 |ty = Vel|ocity + |
|000008f0| 44 65 6c 74 61 54 69 6d | 65 20 2a 20 41 63 63 65 |DeltaTim|e * Acce|
|00000900| 6c 65 72 61 74 69 6f 6e | 3b 20 2f 2f 20 66 6f 72 |leration|; // for|
|00000910| 63 65 20 64 6f 75 62 6c | 65 20 61 63 63 65 6c 65 |ce doubl|e accele|
|00000920| 72 61 74 69 6f 6e 0d 0a | 09 09 69 66 20 28 20 21 |ration..|..if ( !|
|00000930| 62 48 65 61 64 65 64 52 | 69 67 68 74 20 29 0d 0a |bHeadedR|ight )..|
|00000940| 09 09 09 62 48 65 61 64 | 65 64 52 69 67 68 74 20 |...bHead|edRight |
|00000950| 3d 20 28 20 28 56 65 6c | 6f 63 69 74 79 20 44 6f |= ( (Vel|ocity Do|
|00000960| 74 20 41 63 63 65 6c 65 | 72 61 74 69 6f 6e 29 20 |t Accele|ration) |
|00000970| 3e 20 30 20 29 3b 0d 0a | 09 09 65 6c 73 65 20 69 |> 0 );..|..else i|
|00000980| 66 20 28 20 56 65 6c 6f | 63 69 74 79 20 44 6f 74 |f ( Velo|city Dot|
|00000990| 20 41 63 63 65 6c 65 72 | 61 74 69 6f 6e 20 3c 20 | Acceler|ation < |
|000009a0| 30 20 29 0d 0a 09 09 09 | 53 74 61 72 74 4e 65 78 |0 ).....|StartNex|
|000009b0| 74 50 61 74 68 28 29 3b | 0d 0a 09 09 69 66 20 28 |tPath();|....if (|
|000009c0| 20 56 53 69 7a 65 28 44 | 65 73 74 69 6e 61 74 69 | VSize(D|estinati|
|000009d0| 6f 6e 20 2d 20 4c 6f 63 | 61 74 69 6f 6e 29 20 3c |on - Loc|ation) <|
|000009e0| 20 38 30 20 29 0d 0a 09 | 09 09 53 74 61 72 74 4e | 80 )...|..StartN|
|000009f0| 65 78 74 50 61 74 68 28 | 29 3b 0d 0a 09 7d 0d 0a |extPath(|);...}..|
|00000a00| 7d 0d 0a 0d 0a 00 | |}..... | |
+--------+-------------------------+-------------------------+--------+--------+